package com.hdu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 成绩实体类
 *
 * @author xiaobai
 * @since 2023-11-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Grade {

    /**
     * 学生id
     */
    private String id;

    /**
     * 学生姓名
     */
    private String username;

    /**
     * 学生头像
     */
    private String avatar;

    /**
     * 语文成绩
     */
    private Double chinese;

    /**
     * 数学成绩
     */
    private Double math;

    /**
     * 英语成绩
     */
    private Double english;

    /**
     * 物理成绩
     */
    private Double physical;

    /**
     * 化学成绩
     */
    private Double chemistry;

    /**
     * 生物成绩
     */
    private Double biology;

    /**
     * 历史成绩
     */
    private Double history;

    /**
     * 政治成绩
     */
    private Double political;

    /**
     * 地理成绩
     */
    private Double geography;

    /**
     * 理综成绩
     */
    private Double tech;

    /**
     * 文综成绩
     */
    private Double arts;

    /**
     * 理科成绩
     */
    private Double science;

    /**
     * 文科成绩
     */
    private Double liberal;

    /**
     * 总分成绩
     */
    private Double total;

    @Override
    public String toString() {
        return chinese + "," + math + "," + english + "," +
                physical + "," + chemistry + "," + biology + "," +
                history + "," + political + "," + geography;
    }
}
